package com.linkoog.devtools.action_test;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.application.ApplicationInfo;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.ex.ApplicationInfoEx;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiClass;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiIdentifier;
import com.intellij.psi.PsiMethod;
import com.intellij.psi.PsiReferenceExpression;
import com.linkoog.devtools.metadata.raw_index.ClassMetadata;
import com.linkoog.devtools.metadata.raw_index.ClassMetadataRawFileIndex;
import com.linkoog.devtools.metadata.raw_index.MethodMetadata;
import com.linkoog.devtools.metadata.raw_index.MethodMetadataRawFileIndex;
import org.jetbrains.annotations.NotNull;

import javax.swing.*;
import java.awt.im.InputContext;
import java.util.Locale;

public class TestInputAction extends AnAction {

    @Override
    public void actionPerformed(@NotNull AnActionEvent e) {
        final Project project = e.getProject();
        if (project == null) return;

        final Editor editor = e.getData(CommonDataKeys.EDITOR);
        if (editor == null) return;

        ApplicationInfo applicationInfo = ApplicationInfoEx.getInstance();
    }


}
